package com.love.marriage.partnerCategoryConfig.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.common.interfaces.permission.DataPermission;
import com.love.marriage.partnerCategoryConfig.entity.PartnerCategoryConfig;
import com.love.marriage.partnerCategoryConfig.vo.PartnerCategoryConfigVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:  合伙人类别配置表 mapper
 * author:       mybatisPlus
 * createDate:   2025-02-11 07:18:51
 * version:      1.0.0
 */
@Mapper
public interface PartnerCategoryConfigMapper extends BaseMapper<PartnerCategoryConfig> {

    @DataPermission(table = "partner_category_config_t")
    Page<PartnerCategoryConfigVo> getPage(Page<PartnerCategoryConfigVo> page, @Param("partnerCategoryConfigVo") PartnerCategoryConfigVo partnerCategoryConfigVo);

    List<PartnerCategoryConfigVo> getList(@Param("partnerCategoryConfigVo") PartnerCategoryConfigVo partnerCategoryConfigVo);

    PartnerCategoryConfigVo queryPartnerCategoryConfig(@Param("id") Long id);

    PartnerCategoryConfigVo queryPartnerCategoryConfigInfo(@Param("partnerCategoryConfigVo") PartnerCategoryConfigVo partnerCategoryConfigVo);
}
